package com.stewiechen.aipet;

public class Constant {

    public static class Animation {
        public static final String DRAG = "drag.gif";

        public static final String[] STAY = new String[]{"stay1.gif", "stay3.gif", "stay2.gif"};

        public static final String[] RUN_BOTTOM_LEFT = new String[]{"run_bottom_left_1.gif", "run_bottom_left_2.gif"};

        public static final String[] RUN_TOP_LEFT = new String[]{"run_top_left_1.gif", "run_top_left_2.gif"};

        public static final String[] RUN_BOTTOM_RIGHT = new String[]{"run_bottom_right_1.gif", "run_bottom_right_2.gif"};

        public static final String[] RUN_TOP_RIGHT = new String[]{"run_top_right_1.gif", "run_top_right_2.gif"};
    }

    public interface Event {
        int STAY = 1000;

        int RUN_BOTTOM_LEFT = 1001;

        int RUN_TOP_LEFT = 1002;

        int RUN_BOTTOM_RIGHT = 1003;

        int RUN_TOP_RIGHT = 1004;

        int EVENT_LOOP = 1005;

        int STOP_ALL = 1006;
    }

    public interface MessageType {
        int AI_MSG = 1;

        int REQ_MSG = 2;
    }

    public interface RequestCommand {

        int SEND = 1;

        int CLEAR = 2;
    }

    /**
     * 接口响应码
     *
     * @author stewiechen
     * @date 2023-04-03
     */
    public interface ApiStatusCode {

        /**
         * 成功
         */
        Integer OK = 200;
    }

    /**
     * 接口地址封装
     *
     * @author stewiechen
     * @date 2023-04-03
     */
    public interface Apis {

        String BASE_URL = "http://39.101.140.244:10805";

        /**
         * 消息推送接口
         */
        String AI_MSG_PUSH = "ws://39.101.140.244:10805/ai/aliyun/stream";
    }

    public interface CallbackStatus {

        int MESSAGE = 1;

        int COMPLETE = 2;

        int NEW_SESSION = 3;
    }
}
